package com.ruoyi;

import com.ruoyi.framework.config.properties.OpenVpnProperties;
import com.ruoyi.framework.config.properties.ServerProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@EnableScheduling
@ServletComponentScan
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableConfigurationProperties({ ServerProperties.class, OpenVpnProperties.class })
public class BandwidthApplication
{
    public static void main(String args[])
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(BandwidthApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ♥  流量管理系统启动成功   ლ(´ڡ`ლ)ﾞ)1111");
    }





}
